﻿CREATE TABLE [dbo].[tblCampaignStat] (
    [CampaignID] INT          NOT NULL,
    [LogDate]    DATETIME     NOT NULL,
    [RemoteIP]   VARCHAR (17) NOT NULL,
    [SentEmails] INT          NULL,
    [WebPageID]  INT          NULL
);


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'ID associated in the tblCampaign table', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblCampaignStat', @level2type = N'COLUMN', @level2name = N'CampaignID';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'Date pixel requested by email recipient', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblCampaignStat', @level2type = N'COLUMN', @level2name = N'LogDate';


GO
EXECUTE sp_addextendedproperty @name = N'MS_Description', @value = N'IP address of pixel image equestor', @level0type = N'SCHEMA', @level0name = N'dbo', @level1type = N'TABLE', @level1name = N'tblCampaignStat', @level2type = N'COLUMN', @level2name = N'RemoteIP';

